Accelerator Bulk Transfer Process API - Implementation Template

(0 reviews)

Setup guide

Please review the pre-requisite setup instructions for setting up SAP connector on MuleSoft.

Importing Templates into Anypoint Studio

  1. In Studio, click the Exchange X icon in the upper left of the taskbar.
  2. Log in with your Anypoint Platform credentials.
  3. Search for the template
  4. Click Open.

Running Templates in Anypoint Studio

After you import your template into Studio, follow these configuration steps to run it:

  1. Right-click the template project folder.
  2. Hover your mouse over 'Run as'.
  3. Click Mule Application (configure).
  4. Inside the dialog, select Environment and set the variable:
    • mule.env to the appropriate value (e.g., dev or local).
    • mule.key to the property encryption key that you used to encrypt your secure properties.
  5. Click Run.

HTTP Configuration

  • https.host — sets the service host interface. It should be configured in config-<mule.env>.yaml file. (Defaults to 0.0.0.0 for all interfaces)
  • https.port — sets the service port number. It should be configured in config-<mule.env>.yaml file. (Default 8082)
  • keystore.path — sets the path to the keystore. It should be configured in config-<mule.env>.yaml file. (Default accelerator-keystore.jks)
  • keystore.alias — sets the keystore alias. It should be configured in config-<mule.env>.yaml file. (Default solutionsteam)
  • keystore.keyPassword — sets the keystore keyPassword. It should be configured in config-<mule.env>.yaml file. (Default mulesoft)
  • keystore.password — sets the keystore password. It should be configured in config-<mule.env>.yaml file. (Default mulesoft)
  • amq.salesforce.bulk.requestQueueName - sets the request key to get Salesforce bulk requests. It should be configured in config-<mule.env>.yaml file.
  • amq.salesforce.bulk.responseQueueName - sets the request key to get Salesforce bulk responses. It should be configured in config-<mule.env>.yaml file.
  • amq.saphana.bulk.requestQueueName - sets the request key to get SAP S/4HANA bulk requests. It should be configured in config-<mule.env>.yaml file.
  • amq.saphana.bulk.responseQueueName - sets the request key to get SAP S/4HANA bulk responses. It should be configured in config-<mule.env>.yaml file.
  • schedulers.account.saphana2salesforce - sets scheduler details for account migration from saphana to salesforce. It should be configured in config-<mule.env>.yaml file.
  • schedulers.account.sapecc2salesforce - sets scheduler details for account migration from sap ecc to salesforce. It should be configured in config-<mule.env>.yaml file.
  • schedulers.product.saphana2salesforce - sets scheduler details for product migration from saphana to salesforce. It should be configured in config-<mule.env>.yaml file.
  • schedulers.product.sapecc2salesforce - sets scheduler details for product migration from saphana to salesforce. It should be configured in config-<mule.env>.yaml file.
  • schedulers.productAvailability.saphana2salesforce - sets scheduler details for product availability migration from saphana to salesforce. It should be configured in config-<mule.env>.yaml file.
  • schedulers.productAvailability.sapecc2salesforce - sets scheduler details for product availability migration from saphana to salesforce. It should be configured in config-<mule.env>.yaml file.
  • saphana.accounts.Host - sets host name for saphana accounts API. It should be configured in config-<mule.env>.yaml file.
  • saphana.accounts.Path - sets path to get accounts in bulk. It should be configured in config-<mule.env>.yaml file.
  • saphana.products.Host - sets host name for saphana products API. It should be configured in config-<mule.env>.yaml file.
  • saphana.products.Path - sets path to get products in bulk. It should be configured in config-<mule.env>.yaml file.
  • saphana.productAvailability.Host - sets host name for saphana product availability API. It should be configured in config-<mule.env>.yaml file.
  • saphana.productAvailability.Path - sets path for product availability. It should be configured in config-<mule.env>.yaml file.
  • sapecc.accounts.Host - sets host name for sapecc accounts API. It should be configured in config-<mule.env>.yaml file.
  • sapecc.accounts.Path - sets path to get accounts in bulk. It should be configured in config-<mule.env>.yaml file.
  • sapecc.accounts.accountStart - set starting account number. It should be configured in config-<mule.env>.yaml file.
  • sapecc.products.Host - sets host name for sapecc products API. It should be configured in config-<mule.env>.yaml file.
  • sapecc.products.Path - sets path to get products in bulk. It should be configured in config-<mule.env>.yaml file.
  • sapecc.products.productStart - set starting material number. It should be configured in config-<mule.env>.yaml file.
  • sapecc.productAvailability.Host - sets host name for sapecc product availability API. It should be configured in config-<mule.env>.yaml file.
  • sapecc.productAvailability.Path - set path for product availability. It should be configured in config-<mule.env>.yaml file.

Testing it

  • Use Advanced Rest Client or Postman to send a request over HTTP. The template includes a postman collection in the src/test/resources folder.
  • The environment file for the Postman collection is also included in the src/test/resources folder.

Reviews

TypeTemplate
OrganizationMuleSoft
Published by
MuleSoft Solutions
Published onNov 1, 2021
Asset overview

Asset versions for 1.4.x

Asset versions
VersionActions
1.4.1